#include "trap.h"
#include "ysyxsoc.h"
#include "riscv.h"
#include "amtest.h"

struct student
{
    int num;
    char name;
};
struct student a;
void func (struct student *s){
    assert(s != 0);
    putch(s->name);
}

int main() {
    struct student *b=&a;
    b->name = 'A';
    b->num  = 88;
    func(b);
    return 0;
}








